$OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.9 2016/10/09 11:39:20 pascal Exp $
--- gdb/data-directory/Makefile.in.orig	Mon Aug  1 17:50:20 2016
+++ gdb/data-directory/Makefile.in	Fri Oct  7 20:53:14 2016
@@ -187,7 +187,7 @@ stamp-syscalls: Makefile $(SYSCALLS_FILES)
 	for file in $$files ; do \
 	  f=$(SYSCALLS_SRCDIR)/$$file ; \
 	  if test -f $$f ; then \
-	    $(INSTALL_DATA) $$f ./$(SYSCALLS_DIR) ; \
+	    cp $$f ./$(SYSCALLS_DIR) ; \
 	  fi ; \
 	done
 	touch $@
@@ -229,8 +229,8 @@ stamp-python: Makefile $(PYTHON_FILES)
 	if test "x$$files" != x ; then \
 	  for file in $$files ; do \
 	    dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
-	    $(INSTALL_DIR) ./$(PYTHON_DIR)/$$dir ; \
-	    $(INSTALL_DATA) $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
+	    mkdir -p ./$(PYTHON_DIR)/$$dir ; \
+	    cp $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
 	  done ; \
 	fi
 	touch $@
@@ -323,7 +323,7 @@ stamp-system-gdbinit: Makefile $(SYSTEM_GDBINIT_FILES)
 	for file in $$files ; do \
 	  f=$(SYSTEM_GDBINIT_SRCDIR)/$$file ; \
 	  if test -f $$f ; then \
-	    $(INSTALL_DATA) $$f ./$(SYSTEM_GDBINIT_DIR) ; \
+	    cp $$f ./$(SYSTEM_GDBINIT_DIR) ; \
 	  fi ; \
 	done
 	touch $@
